<template>
	<footer id="footer">
		<div class="i_copyright">{{footertxt}}</div>
	</footer>
</template>

<script>
	export default {
		name: '',
		data(){
			return {
				footertxt: ''
			}
		},
		created(){
			this.getfooter()
		},
		methods: {
			getfooter(){
				let success = (res=>{
					let data = res.data;
					this.footertxt = data.info.info_copyright

				});

				this.$ajax({
					url:'api/setting/page_foot',
					method: 'get',
					params: {
						user_id: this.$g.user_id,
					},
					func: {
						success: success
					}
				})
			}
		}
	}
</script>
<style>
	.i_copyright{
	    white-space:pre
	}
</style>